﻿using PublicClass.BreedingEnum;
using PublicClass;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Produce.Domains.CountDTO
{
    /// <summary>
    /// 羊只档案
    /// </summary>
    public class SheepDetail
    {
        public int Id { get; set; }
        /// <summary>
        /// 可视耳号
        /// </summary>
        /// 
        [StringLength(50)]
        public string? VisualEarSignal { get; set; }
        /// <summary>
        /// 电子耳号
        /// </summary>
        /// 
        [StringLength(50)]
        public string? ElectronicEarNumber { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public Breed? breed { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int? sex { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? Birthday { get; set; }
        /// <summary>
        /// 日龄
        /// </summary>
        public int? AgeDays { get; set; }
        /// <summary>
        /// 月龄
        /// </summary>
        public int? AgeMoon { get; set; }
        /// <summary>
        /// 在场状态
        /// </summary>
        public Presence? presence { get; set; }
        /// <summary>
        /// 生长阶段
        /// </summary>
        public GrowthStage? growthStage { get; set; }
        /// <summary>
        /// 羊只类型
        /// </summary>
        public SheepType? sheepType { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public string? Cottage { get; set; }
        /// <summary>
        /// 栏位
        /// </summary>
        public string? Field { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public ReproductiveState? reproductiveState { get; set; }
        /// <summary>
        /// 是否妊检
        /// </summary>
        public bool? PregnancyTest { get; set; }
        /// <summary>
        /// 状态天数
        /// </summary>
        public int? StatusDays { get; set; }
        /// <summary>
        /// 生产等级
        /// </summary>
        public ProductionGrade? productionGrade { get; set; }
        /// <summary>
        /// 销售等级
        /// </summary>
        public SalesGrade? salesGrade { get; set; }
        /// <summary>
        /// 基因等级
        /// </summary>
        public GeneClass? geneClass { get; set; }
        /// <summary>
        /// 出生重量
        /// </summary>
        public decimal? BirthWeight { get; set; }
        /// <summary>
        /// 断奶重量
        /// </summary>
        public decimal? WeaningWeight { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime? WeaningDate { get; set; }
        /// <summary>
        /// 断奶日龄
        /// </summary>
        public int? WeaningAge { get; set; }
        /// <summary>
        /// 父耳号
        /// </summary>
        public string? FatherHorn { get; set; }
        /// <summary>
        /// 母耳号
        /// </summary>
        public string? FemaleHorn { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? EarNumber { get; set; }
        /// <summary>
        /// 出生场地
        /// </summary>
        public string? PlaceBirth { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 对应出生状态
        /// </summary>
        public StateBirth? StateBirth { get; set; }
        /// <summary>
        /// 入场日期
        /// </summary>
        public DateTime? entranceda { get; set; }
    }
}
